package com.youngjun.common.oss.autoconfigure;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author VirgoJun
 */
@ConfigurationProperties(prefix = "oss")
public class OssProperties {

    private ProviderEnum provider;

    private String endpoint;

    private String accessKey;

    private String secretKey;

    public ProviderEnum getProvider() {
        return provider;
    }

    public OssProperties setProvider(ProviderEnum provider) {
        this.provider = provider;
        return this;
    }

    public String getEndpoint() {
        return endpoint;
    }

    public OssProperties setEndpoint(String endpoint) {
        this.endpoint = endpoint;
        return this;
    }

    public String getAccessKey() {
        return accessKey;
    }

    public OssProperties setAccessKey(String accessKey) {
        this.accessKey = accessKey;
        return this;
    }

    public String getSecretKey() {
        return secretKey;
    }

    public OssProperties setSecretKey(String secretKey) {
        this.secretKey = secretKey;
        return this;
    }

}
